Next | Prev | Up | Top | Contents | Index

Setting Up

A program initializes for ULI in the following major steps:

  1. Open the device special file for the device.

  2. For a VME device, map the device addresses into process memory (see "Mapping a VME Device Into Process Address Space".

  3. Lock the program address space in memory.

  4. Initialize any data structures used by the interrupt handler.

  5. Register the interrupt handler.

  6. Interact with the device and the interrupt handler.
Any time after the handler has been registered, an interrupt can occur, causing entry to the ULI handler.


Opening the Device Special File
Locking the Program Address Space
Registering the Interrupt Handler
Interacting With the Handler

Next | Prev | Up | Top | Contents | Index